package fr.afcepf.atod18.hotels.managedbeans;

public class UI_BasketOption {
	private String option_name;
	private int OptionId;
	private int qte;
	private double price;
	private double total;

	public String getOption_name() {
		return option_name;
	}

	public void setOption_name(String option_name) {
		this.option_name = option_name;
	}

	public int getOptionId() {
		return OptionId;
	}

	public void setOptionId(int optionId) {
		OptionId = optionId;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public double getTotal() {
		total = price * qte;
		return total;
	}

	public void setTotal(double total) {
		this.total = total;
	}

	public int getQte() {
		return qte;
	}

	public void setQte(int qte) {
		this.qte = qte;
	}
}
